<?php 
//登录相关联的函数库
//同步时登录
function synchronous($type ='')
{
	switch ($type)
	{
		case 'admin':
		  session_start();
		  $_SESSION['AName'] = 'administrator';
		  $_SESSION['AID'] = 1;
		  $_SESSION['Power'] = 65535;
		  $_SESSION['APwd'] = '3a9af5a43a740a529ccfbb06d44f092f';
	}
	
}
?>